package com.hubu.json;
/**
 * 封装客户端发送的命令类型
 */
public class Command {
    private String commandType;
    private String key;
    private String value;
    public void setValue(String value) {
        this.value = value;
    }
    public void setKey(String key) {
        this.key = key;
    }
    public void setCommandType(String commandType) {
        this.commandType = commandType;
    }
    public String getValue() {
        return value;
    }
    public String getCommandType() {
        return commandType;
    }
    public String getKey() {
        return key;
    }

    @Override
    public String toString() {
        return "Command{" +
                "commandType='" + commandType + '\'' +
                ", key='" + key + '\'' +
                ", value='" + value + '\'' +
                '}';
    }
}